<div style="min-height: 250px">
<?php echo Form::open('settings/save_experience',array('class' => 'experience_form')) ?>
<ul class="list">
    <li>
            <div class="list_white_container">
                <?php echo Form::label('employer',__('Employer').'*:') ?>
		<?php echo Form::input('employer', null, array('class' => 'standard_text_form','id'=>'employer','title'=>'Enter your employer company')) ?>
		<div style="clear: both"></div>
            </div>
    </li>
    <li>
            <div class="list_white_container">
                <?php echo Form::label('position',__('Position').'*:') ?>
		<?php echo Form::input('position', null, array('class' => 'standard_text_form','id'=>'position','title'=>'Enter your position in company')) ?>
		<div style="clear: both"></div>
            </div>
    </li>
    <li>
            <div class="list_white_container">
                <?php echo Form::label('responsibilities',__('Responsibilities').':') ?>
		<?php echo Form::textarea('responsibilities', null, array('class' => 'standard_textarea_form','id'=>'responsibilities','title'=>'Enter all your responsibilities in company')) ?>
		<div style="clear: both"></div>
            </div>
    </li>
    <li>
            <div class="list_white_container">
                <?php echo Form::label('',__('Start date').'*:') ?>
		<?php echo Form::select('start_date_month', Date::months(Date::MONTHS_LONG), false, array('class' => 'standard_select_form')) ?>
                <?php echo Form::select('start_date_year',  array_combine(array_reverse(Date::years(1920,date('Y'))),array_reverse(Date::years(1920,date('Y')))), false, array('class' => 'standard_select_form')) ?>
		<div style="clear: both"></div>
            </div>
    </li>
    <li>
            <div class="list_white_container">
                <?php echo Form::label('',__('End date').':') ?>
		<?php echo Form::select('end_date_month', Date::months(Date::MONTHS_LONG), false, array('class' => 'standard_select_form')) ?>
                <?php echo Form::select('end_date_year', array_combine(array_reverse(Date::years(1920,date('Y'))),array_reverse(Date::years(1920,date('Y')))), false, array('class' => 'standard_select_form')) ?>
		<div style="clear: both"></div>
            </div>
    </li>
    <li>
            <div class="list_white_container">
                <?php echo Form::label('working',__('Still working').':') ?>
		<?php echo Form::checkbox('working', '1', false, array('id' => 'working','class' => 'still switch', 'data-content' => __('YES').'|'.__('NO'))) ?>
		<div style="clear: both"></div>
            </div>
    </li>
    <li>
            <div class="list_white_container">
                <?php echo Form::label('','') ?>
                <?php echo Form::submit('save', __('Add experience'), array('class' => 'button_blue')) ?>
                <div style="clear: both"></div>
            </div>
    </li>
</ul>
<?php echo Form::close() ?>
<?php if($experiences): ?>
    <header><?php echo __('my experience') ?></header>
<ul class="list"> 
    <?php foreach($experiences as $experience):?>                
        <?php echo View::factory('settings/profile/experience_row')->set('experience',$experience) ?>
    <?php  endforeach ?>
</ul>
<?php endif ?>
</div>